<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/

$route['default_controller'] = "home";
$route['join_in'] = "home/join_in";
$route['join_as'] = "home/join_as";
$route['live/(:any)'] = "home/live/$1";
$route['show/(:any)'] = "home/showList/$1";
$route['check_mail'] = "home/check_mail";
$route['join_as_submit'] = "home/join_as_submit";
$route['join_as_submit_detail_continue'] = "home/join_as_submit_detail_continue";
$route['join_as_(:any)_submit'] = "home/join_as_final_submit/$1";
$route['join_as_(:any)_continue'] = "home/join_as_submit_continue/$1";
$route['join_as_(:any)_detail'] = "home/join_as_member_detail/$1";
$route['join_as_(:any)'] = "home/join_as_member/$1";
$route['redirect_(:any)'] = "home/redirect_member/$1";
$route['account_activate/(:any)'] = "home/accountActivate/$1";
$route['about_us'] = "home/about_us";
$route['contact_us'] = "home/contact_us";
$route['dashboard'] = "home/member";
$route['logout'] = "home/logout";
$route['forgot_password'] = "home/forgot";
$route['reset_password'] = "home/resetPassword";
$route['confirm_reset_password'] = "home/confirmResetPassword";
$route['team'] = "home/team";
//--study
$route['study'] = "study";
$route['study/get_email'] = "study/getEmail";
$route['study/get_name'] = "study/getName";
$route['study/get_school'] = "study/getSchool";
$route['study/get_section'] = "study/getSection";
$route['study/book'] = "study/getBook";
$route['study/set_question_note_or_bookmark'] = "study/set_question_note_or_bookmark";
$route['study/qtype_redirect/(:any)'] = "study/redirectQtype/$1";
$route['study/download'] = "study/download";

$route['404_override'] = 'home/join_as';

/* End of file routes.php */
/* Location: ./application/config/routes.php */